package com.acme.bankapp.services.email;

public class Email {
	
	private final String address;
	private final String subject;
	private final String message;
	
	public Email(String address, String subject, String message){
		this.address = address;
		this.subject = subject;
		this.message = message;		
	}

	public String getAddress() {
		return address;
	}
	
	public String getSubject() {
		return subject;
	}
	
	public String getMessage() {
		return message;
	}
	
	@Override
	public String toString() {
		return "Address: "+getAddress()+"\nSubject: "+getSubject()+"\nMessage: "+getMessage();
	}
}
